<?php

namespace CNEPAdmin\Controller;

use CNEPAdmin\Controller\CommonController;

class OilSysController extends CommonController {

    protected $_modelName = "TaskOilprice";

    protected function setCode() {
        $this->_code = "System"; // 属于系统管理模块
    }

    protected function _getQueryArr(&$where, &$order) {
        $where = array();

        $where['isOn'] = 1;
		$orderBy = 'taskID';
        $desc = 'desc';

        $order = array(
            $orderBy => $desc
        );
    }

    /**
     * 查看列表
     */
    public function index() {
        $this->checkPriv('ver', 1, false);

        $this->_getOnePageData("getOilList", "getOilListLength");
    }
}
